package com.zusmart.base.scanner;

import java.util.Set;

public interface Scanner {

	public void addPattern(String pattern);

	public void addPatterns(Set<String> patterns);
	
	public void addPatterns(String[] patterns);

	public void addProcessor(ScannerProcessor processor);

	public Set<ScannerResult> scan();

	public Set<ScannerResult> scan(String pattern);

	public Set<ScannerResult> scan(Set<String> patterns);

	public Set<ScannerResult> scan(String pattern, ScannerProcessor processor);

	public Set<ScannerResult> scan(Set<String> patterns, ScannerProcessor processor);

}